package DB;

import Model.Supplier;

import java.util.ArrayList;

public interface SupplierDBIF {

    //Insert supplier
    public int insertSupplier(Supplier supplier);

    //Find supplier
    public Supplier findSupplier (int id);

    //Find all suppliers
    public ArrayList<Supplier> getAllSuppliers(boolean retrieveAssociation);

    //Update
    public int updateSupplier(Supplier supplier);

    //Delete supplier
    public int deleteSupplier(int id);
}
